<template>
    <section>
  			<share-server :danganId="danganId" v-if="danganType==='share'"></share-server>
			<collect-server :danganId="danganId" v-if="danganType==='collect'"></collect-server>
    </section>
</template>

<script>
    import collectServer from "./collectServer"
    import shareServer from "./shareServer"
    export default {
    	components:{
    		shareServer,
    		collectServer,
    	},
    	props:{
    		danganType:'',
    		danganId:'',
    	},
        data() {
          return {
          		
          };
        },
        methods: {
        
        }
  };
</script>

<style scoped="scoped">
    
</style>